#!/bin/bash


echo "========clean========="
rm -rf u-boot linux linux-*

echo "========begin build u-boot========="

tar xf tools/u-boot-aeff6d50.tar.gz
source ./build-uboot.sh >/dev/null 2>&1

echo "========begin build linux========="


tar xf tools/linux-2.6.32.27.tar.xz
mv linux-2.6.32.27 linux
#tar xf tools/linux-3.4.112.tar.xz
#mv linux-3.4.112 linux
source ./build-linux.sh >/dev/null 2>&1





